package com.yswy.common.enums;

public enum PaymentStateEnums {
	UN_KNOWN(-1, "未知"),
	NEW(1, "新建"),
	TRADE_CLOSED(2,"交易关闭"),
	TRADE_SUCCESS(3, "支付成功"),
	TRADE_FINISHED(4, "交易完成"),
	TRADE_TRAD_SUCCESS_CALLBACK_FAIL(5,"支付成功,回调数据服失败"),
    TRADE_RE_FUND(6, "退款完成"),
    TRADE_FAIL(7, "交易失败"),
    TRADE_MONEY_FAIL(8, "的支付金额与传入的金额");

	PaymentStateEnums(int code, String message) {
        this.code = code;
        this.message = message;
    }

    private final int code;

    private final String message;

    public int getCode() {
        return this.code;
    }

    public String getMessage() {
        return this.message;
    }
}
